<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:p="http://primefaces.org/ui"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:c="http://java.sun.com/jsp/jstl/core"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets">
    <body>
        <ui:composition template="/WEB-INF/facelets/base/template.xhtml">
            <ui:param name="pageName" value="#{i18['project.page.name']}"/>
            <ui:define name="body">
                
                <h:form id ="generationForm">   
                    <p:growl id="messages"/> 
                    <ui:include src="/WEB-INF/facelets/generation/matchContext.xhtml"/> 
                    <p:layout fullPage="false" style="height: 500px">
                        <p:layoutUnit position="west" header="Properties"  resizable="true" closable="false" collapsible="true" >  
                            <p:panel header="Objects" toggleable="true" >
                                 <ui:include src="/WEB-INF/facelets/generation/metadata.xhtml"/>
                            </p:panel>
                            <p:panel header="Properties" toggleable="true">
                                <ui:include src="/WEB-INF/facelets/generation/variables.xhtml"/>
                            </p:panel>
                            <p:panel header="Templates" toggleable="true">
                                <ui:include src="/WEB-INF/facelets/generation/template.xhtml"/>
                            </p:panel>
                    </p:layoutUnit>
                    <p:layoutUnit position="center" size="200" resizable="true" closable="true" collapsible="true" id ="center"> 
                        <ui:include src="/WEB-INF/facelets/generation/menu.xhtml"/> 
                        <ui:include src="/WEB-INF/facelets/generation/objectinfo/objectInfoDetail.xhtml"/>
                    </p:layoutUnit>  
                    </p:layout> 
                </h:form>
            </ui:define>
        </ui:composition>
    </body>
</html>
